from turbogears import validators, widgets

import formencode

from mnemoply import reports
from mnemoply.utils import IdsValidator

class CallListReport(reports.RDSReport):
    name = _("Call List")
    tag = "CallList"
    report_type = reports.RDSReportType.WORD_MULTIPAGE
    template_module = "mnemoply.templates.reports.call_list"

    fields = [
        widgets.HiddenField(name="ids", label=_("IDs"),
            validator=IdsValidator),
    ]

exposed = CallListReport()
